import argparse
from configparser import ConfigParser



parser = argparse.ArgumentParser(description='Process some integers')

parser.add_argument('-print', type=str, help='Ready print text')
parser.add_argument('-sex', action='store_true', help='you sex')

args = parser.parse_args()
args.__dict__['print'] = 'you are some the one of bitch'
print(args.__dict__['print'])

config = ConfigParser()
config.read('config', encoding='UTF-8')

options = config.options('config')
for element in options:
    args.__dict__[element] = config.get('config', element)

options = config.options('config_IF')
for element in options:
    args.__dict__[element] = config.getboolean('config_IF', element)

print(args.__dict__['sex'])

ARG_DIR = './proc/data/ace-event/processed-data/json'
New = ARG_DIR + '/toy.json'
print(New)
